package com.hsurosy.domain.strategy.service.rule.chain;

import com.hsurosy.domain.strategy.service.rule.chain.factory.DefaultChainFactory;

/**
 * @Author Hsu琛君珩
 * @Date 2024-10-19 1:11
 * @Description 责任链接口
 * @Version: v1.0.0
 */
public interface ILogicChain extends ILogicChainArmory {

    /**
     * 责任链的核心逻辑方法
     *
     * @param userId 用户ID
     * @param strategyId 策略ID
     * @return 奖品ID
     */
    DefaultChainFactory.StrategyAwardVO logic(String userId, Long strategyId);

}
